from collections import defaultdict

#
#   Class for holding a value and also keeping track of the domains 
#   for all attributes in the static dictionary Domains
#
class Attributes :
    Domains = defaultdict(list)
    def __init__(self, attribute = "", value = "") :
        if value not in self.Domains[attribute] :
            self.Domains[attribute].append(value)
        self.__value = value

    def GetValue(self) :
        return self.__value

